home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / zmdm.zoo / config.h < prev    next >
C/C++ Source or Header  |  1991-04-27  |  7KB  |  283 lines

  1. /*
  2.  *     Common Configuration file
  3.  *
  4.  *    Jwahar Bammi
  5.  *     bang:   {any internet host}!dsrgsun.ces.CWRU.edu!bammi
  6.  *     domain: bammi@dsrgsun.ces.CWRU.edu
  7.  */
  8.  
  9.  
  10. /*
  11.  *    Compiler Type
  12.  *
  13.  *        Gnu C compiler
  14.  *            V 1.35 or higher REQUIRED
  15.  *
  16.  *        Mark Williams C
  17.  *            V2.0 or higher REQUIRED
  18.  *            V3 tested. (V 3.0.6 is what i got)
  19.  *
  20.  *        Alcyon C
  21.  *            V 4.14 only tested
  22.  *            DLIBS compatible
  23.  *            ALN OK
  24.  *
  25.  *        MegaMax C/Laser C (or whatever they call it)
  26.  *            I refuse to use braindamaged tools !!
  27.  *
  28.  *        Manx Aztec C
  29.  *            Version 3.6a tested. Produces great code!
  30.  *
  31.  *        Lattice C
  32.  *            Don't have a copy
  33.  *
  34.  *    Comment out one of the #if 0 lines below corresponding to your
  35.  *    compiler.
  36.  */
  37.  
  38.     /************** if using Gnu C **************/
  39.  
  40. /* #if 0 */    /* Comment Out this line if using Gnu C */
  41.  
  42. #define COMPILER    "Compiled with Gnu C V1.39"
  43. #ifdef __GNUC__
  44. #undef __GNUC__
  45. #endif
  46. #define __GNUC__ 1
  47.  
  48. #ifdef MWC
  49. #undef MWC 
  50. #endif /* MWC */
  51. #ifdef DLIBS
  52. #undef DLIBS        /* only Alcyon version of DLIBS tested */
  53. #endif /* DLIBS */
  54. #ifdef ALCYON
  55. #undef ALCYON
  56. #endif /* ALCYON */
  57. #ifdef MANX
  58. #undef MANX
  59. #endif /* MANX */
  60.  
  61. /* #endif */     /* Comment Out this line if using GNU C */
  62.  
  63.     /************** if using Mark Williams C **************/
  64.  
  65. #if 0     /* Comment Out this line if using Mark Williams C */
  66.  
  67. #define COMPILER    "Compiled with Mark Williams C V3.0.6"
  68. #ifndef MWC
  69. #define MWC 1
  70. #endif /* MWC */
  71. #ifdef DLIBS
  72. #undef DLIBS        /* only Alcyon version of DLIBS tested */
  73. #endif /* DLIBS */
  74. #ifdef ALCYON
  75. #undef ALCYON
  76. #endif /* ALCYON */
  77. #ifdef MANX
  78. #undef MANX
  79. #endif /* MANX */
  80. #ifdef __GNUC__
  81. #undef __GNUC__
  82. #endif /* __GNUC__ */
  83.  
  84. #endif      /* Comment Out this line if using Mark Williams C */
  85.  
  86.     /************** if using Alcyon C **************/
  87.  
  88. #if 0    /* comment out this line if using Alcyon C */
  89.  
  90. #define COMPILER    "Compiled with Alcyon C V4.14"
  91. #ifndef ALCYON
  92. #define ALCYON 1
  93. #endif /* ALCYON */
  94. #ifdef MWC
  95. #undef MWC
  96. #endif /* MWC */
  97. #ifdef MANX
  98. #undef MANX
  99. #endif /* MANX */
  100. #ifdef __GNUC__
  101. #undef __GNUC__
  102. #endif /* __GNUC__ */
  103.  
  104. #endif    /* Comment Out this line if using Alcyon C */
  105.  
  106.     /************** if using MANX C **************/
  107.  
  108. #if 0    /* comment out this line if using MANX C */
  109.  
  110. #define COMPILER    "Compiled with Manx Aztec C V3.6a"
  111. #ifndef MANX
  112. #define MANX 1
  113. #endif /* MANX */
  114. #ifdef MWC
  115. #undef MWC
  116. #endif /* MWC */
  117. #ifdef ALCYON
  118. #undef ALCYON
  119. #endif /* ALCYON */
  120. #ifdef __GNUC__
  121. #undef __GNUC__
  122. #endif /* __GNUC__ */
  123.  
  124. #endif     /* Comment Out this line if using MANX C */
  125.  
  126. /* ------------------------------------------------------------------------ */
  127.  
  128. /*
  129.  * Compile Stand Alone  versions of RZ and SZ
  130.  *
  131.  *    STANDALONE is #define'd, to compile `stand alone' alone versions
  132.  *    of RZ and SZ instead of the integrated ZMDM. A lot of folks
  133.  *    requested this feature.
  134.  */
  135.  
  136. #ifndef STANDALONE
  137. /* #define STANDALONE 1 */    /* define for standalone compilation */
  138. #endif /* STANDALONE */
  139.  
  140. /* ------------------------------------------------------------------------ */
  141.  
  142. /*
  143.  * Compile a REMOTE version of ZMDM
  144.  *    REMOTE is #define'd to compile a `remote' version of ZMDM. A remote
  145.  *    versions talks through the serial port, instead of the keyboard/screen
  146.  *    Useful for dialing up your ST to download/upload files. One of the
  147.  *    local BBS's has this version available through a door to enable
  148.  *    people to Up/Down load batch using Zmodem protocol.
  149.  *
  150.  */
  151. #ifndef REMOTE
  152. /* #define REMOTE 1 */        /* define for remote version */
  153. #endif /* REMOTE */
  154. /* ------------------------------------------------------------------------ */
  155.  
  156. /*
  157.  * Phone Services
  158.  *    PHONES is #define'd to compile in the Phone Services module.
  159.  *    if PHONES is #define'd you must also define PREDIAL and
  160.  *    REDIAL, your modems dial and re-dial commands respectively.
  161.  *    NOTE: The REMOTE version of ZMDM does not support the
  162.  *    phones module.
  163.  */
  164.  
  165. #ifndef REMOTE
  166. /* #if 0 */         /* comment this line if you want the PHONES module */
  167.  
  168. #define PHONES 1
  169.     /*********** CAUTION: modem specific ***********/
  170. #define PREDIAL        "ATDT"    /* Modems dial command */
  171. #define REDIAL        "A/"    /* Modems Re-dial command */
  172.  
  173. /* #endif */        /* comment this line if you want the PHONES module */
  174. #endif /* REMOTE */
  175.  
  176. /* ------------------------------------------------------------------------ */
  177.  
  178. /*
  179.  * Do flow control while doing terminal emulation -
  180.  * this only needs to be defined if you are
  181.  * going to be running Zmdm at 19200 Baud AND
  182.  * you are going to be sending it (from the host)
  183.  * greater that 16k characters in one blast, without
  184.  * any pause whatsoever. For 99.95 % of us mortals
  185.  * this will never be required. Even if it is defined
  186.  * its no big deal, as flow control will not happen
  187.  * unless the condition described above exists.
  188.  * NOTE: flow control is turned off during file transfers.
  189.  */
  190. #define FLOW_CTRL    1     /* do flow control */
  191.  
  192. /* ------------------------------------------------------------------------ */
  193.  
  194. /*
  195.  * Use high-speed baud-rate code - tends to have very high
  196.  * error rates...
  197.  *    CAUTION: do not define this
  198.  */
  199. #if 0
  200. /* #define    HIBAUD        1  */
  201. #endif
  202.  
  203. /* ------------------------------------------------------------------------*/
  204.  
  205. /*
  206.  * OVERSCAN : define if you want Overscan mod support
  207.  */
  208. #define OVERSCAN 1
  209.  
  210. /* ------------------------------------------------------------------------*/
  211.  
  212. /*
  213.  *  DYNABUF
  214.  *    If #define'd use up rest up memory less LEAVEALONE bytes for
  215.  *    file buffers. The minimum acceptable size is MINACC
  216.  */
  217. /* #if 0 */    /* Comment this line to use DYNABUF */
  218.  
  219. #ifndef DYNABUF
  220. #define DYNABUF 1
  221. #define LEAVEALONE 16384L
  222. #define MINACC        8096L
  223. #endif
  224.  
  225. /* #endif */    /* Comment this line to use DYNABUF */
  226.  
  227. /* ------------------------------------------------------------------------*/
  228.  
  229. /*
  230.  * Size of file buffer
  231.  *
  232.  *    Must be defined. Must be a long. (only define when
  233.  *    DYNABUF is NOT define'd).
  234.  *
  235.  */
  236. #ifndef DYNABUF
  237. #define BBUFSIZ        32768L        /* Size of file/capture buffer */
  238. #endif /* DYNABUF */
  239.  
  240. /* ------------------------------------------------------------------------*/
  241.  
  242. /*
  243.  * Size of Rs232 buffer
  244.  *
  245.  *    Must be defined. Must be int (16 bits).
  246.  */
  247. #define IBUFSIZ        16*1024    /* Size of my Rs232 receive buffer */
  248.  
  249. /* ------------------------------------------------------------------------*/
  250.  
  251. /*
  252.  * GMTDIFF
  253.  *    Number of seconds from GMT (signed).
  254.  *    Must be defined.
  255.  *    Must be long.
  256.  */
  257. #define GMTDIFF    (-5L*3600L)    /* EST (usa) -ve means behind GMT */
  258.  
  259. /* ------------------------------------------------------------------------*/
  260.  
  261. /*
  262.  * Define RECURSE only if you want the expand a directory
  263.  * to all its children feature for `sz', when you specify
  264.  * a directory name as an arg to `sz'.
  265.  *
  266.  */
  267. #define RECURSE 1
  268.  
  269. /* ------------------------------------------------------------------------*/
  270.  
  271. /* 
  272.  * define BIGSTACK if you have very deep directory hierarchies
  273.  *
  274.  */
  275. #ifdef RECURSE
  276. /* #define BIGSTACK 1 */
  277. #endif /* RECURSE */
  278.  
  279. /* ------------------------------------------------------------------------*/
  280.  
  281. #include "proto.h"
  282. /* -eof- */
  283.